﻿using B.S.RbacData.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.RbacData.Write.API.Applications.Commands.Traceabilitys
{

    /// <summary>
    /// 产品信息的添加
    /// </summary>
    public class AddProductCommand:IRequest<ApiResult<int>>
    {


        /// <summary>
        /// 商品编号Id
        /// </summary>
        public int GoodsId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>

        public string ProductionBatch { get; set; } = null!;

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLifeDay { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>

        public string ProductionLicenseNumber { get; set; } = null!;

        /// <summary>
        /// 生产企业
        /// </summary>
   
        public string Manufacturer { get; set; } = null!;

        /// <summary>
        /// 封面图
        /// </summary>
    
        public string CoverImage { get; set; } = null!;




    }
}
